echo off
set SVN="C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"

for /f "delims=" %%a in ('dir /B /A:D') do call:update_dir %%a

:update_dir
    echo SVN Updating %1 ......
    if not exist "%1\.svn" echo "%1" is not a svn repository & exit /B
    %SVN% /notempfile /command:"update" /closeonend:1 /path:"%1"
exit /B
